package com.atguigu.lease.admin.mapper;

import com.atguigu.lease.model.bean.ApartmentInfo;
import com.atguigu.lease.model.vo.ApartmentItemVo;
import com.atguigu.lease.model.vo.ApartmentQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
* @author 1
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Mapper
* @createDate 2025-06-20 14:04:43
* @Entity com.atguigu.lease.model.bean.ApartmentInfo
*/
public interface ApartmentInfoMapper extends BaseMapper<ApartmentInfo> {
    // mp会自动使用page对象(前提是已经配置了分页拦截器)
    Page<ApartmentItemVo> selectApartmentItemVoPage(Page<ApartmentItemVo> page
            ,@Param("queryVo") ApartmentQueryVo queryVo);
}




